﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Rail.Commons
{
    /// <summary>
    /// 共用分类级别
    /// </summary>
    public class CommonClassificationHelper
    {
        /// <summary>
        /// 坡度颜色等级
        /// </summary>
        public static List<Color> Colors1
        {
            get
            {
                return new List<Color> { Color.FromArgb(112, 168, 0), Color.FromArgb(148, 247, 0), Color.FromArgb(245, 245, 0), Color.FromArgb(250, 139, 0), Color.FromArgb(255, 190, 190) }; ;
            }
        }


        public static List<Color> Colors2
        {
            get
            {
                return new List<Color> { Color.FromArgb(112, 168, 0), Color.FromArgb(148, 247, 0), Color.FromArgb(245, 245, 0), Color.FromArgb(250, 139, 0), Color.FromArgb(255, 190, 190), Color.FromArgb(255, 190, 190) }; ;
            }
        }
        public static List<Color> Colors3
        {
            get
            {
                return new List<Color> { Color.FromArgb(160, 0, 0), Color.FromArgb(255, 85, 0), Color.FromArgb(255, 167, 127), Color.FromArgb(255, 235, 175), Color.FromArgb(163, 255, 115), Color.FromArgb(152, 230, 0), Color.FromArgb(38, 115, 0) }; ;
            }
        }

        public static List<Color> Colors4
        {
            get
            {
                return new List<Color> { Color.FromArgb(160, 0, 0), Color.FromArgb(255, 85, 0), Color.FromArgb(255, 167, 127), Color.FromArgb(255, 235, 175) }; ;
            }
        }
        public static List<Color> Colors5
        {
            get
            {
                return new List<Color> {  Color.FromArgb(255, 235, 175) , Color.FromArgb(255, 167, 127),Color.FromArgb(255, 85, 0), Color.FromArgb(160, 0, 0)}; ;
            }
        }

        public static List<Color> Colors6
        {
            get
            {
                return new List<Color> { Color.FromArgb(255, 190, 190), Color.FromArgb(250, 139, 0), Color.FromArgb(245, 245, 0), Color.FromArgb(148, 247, 0), Color.FromArgb(112, 168, 0) }; ;
            }
        }
        public static List<Color> Colors7
        {
            get
            {
                return new List<Color> {  Color.FromArgb(255, 190, 190),  Color.FromArgb(245, 245, 0), Color.FromArgb(112, 168, 0) }; ;
            }
        }
        public static List<Color> Colors8
        {
            get
            {
                return new List<Color> { Color.FromArgb(255, 190, 190), Color.FromArgb(245, 245, 0) }; ;
            }
        }

        /// <summary>
        /// 坡度等级 平地、缓坡地等
        /// </summary>
        public static List<string> SlopeLeveList
        {
            get
            {
                return new List<string>() { "平地", "平坡地", "缓坡地", "缓陡坡地", "陡坡地" };
            }
        }

        /// <summary>
        /// 评价等级  高中低
        /// </summary>
        public static List<string> RankLeveList
        {
            get
            {
                return new List<string>() { "高", "较高", "中等", "较低", "低" };
            }
        }

        /// <summary>
        /// 评价等级  好较好差等
        /// </summary>
        public static List<string> Rank1LeveList
        {
            get
            {
                return new List<string>() { "好", "较好", "一般", "较差", "差" };
            }
        }

        public static List<string> Rank2LeveList
        {
            get
            {
                return new List<string>() { "差", "较差", "一般", "较好", "好" };
            }
        }


        public static List<string> Rank2LeveLsit
        {
            get
            {
                return new List<string>() {"低","中","高" };
            }

        }

        public static List<string> Rank1LeveList3
        {
            get
            {
                return new List<string>() { "1", "2", "3", "4", "5" };
            }
        }


        /// <summary>
        /// Position  1,2...
        /// </summary>
        public static List<float> LevelList
        {
            get
            {
                return new List<float>() { 1, 2, 3, 4, 5 };
            }
        }


        public static List<double> LevelListDouble
        {
            get
            {
                return new List<double>() { 1, 2, 3, 4, 5 };
            }
        }


        /// <summary>
        /// 气候评价温湿指数分类级别
        /// </summary>
        public static List<float> LevelList2
        {
            get
            {
                return new List<float>() { 1, 2, 3, 4, 5, 6, 7 };
            }
        }

        public static List<double> LevelList2Double
        {
            get
            {
                return new List<double>() { 1, 2, 3, 4, 5, 6, 7 };
            }
        }

        /// <summary>
        /// Position  1,2...
        /// </summary>
        public static List<float> LevelList3
        {
            get
            {
                return new List<float>() { 1, 2, 3, 4 };
            }
        }

        public static List<double> LevelList3Double
        {
            get
            {
                return new List<double>() { 1, 2, 3, 4 };
            }
        }
        public static List<float> LevelList4
        {
            get
            {
                return new List<float>() { 1, 2, 3};
            }
        }

        public static List<double> LevelList4Double
        {
            get
            {
                return new List<double>() { 1, 2, 3 };
            }
        }

        public static List<double> LevelList5Double
        {
            get
            {
                return new List<double>() {1, 2};
            }
        }


        public static List<string> comfortLeveList
        {
            get
            {
                return new List<string>() { "1(很不舒适）", "2", "3", "4", "5", "6", "7(很舒适)" };
            }
        }

        public static List<float> comfortLeveList2
        {
            get
            {
                return new List<float>() { 1, 2, 3, 4, 5, 6, 7 };
            }
        }
        public static List<string> RankLeveList2
        {
            get
            {
                return new List<string>() {  "低", "较低", "中等","较高" ,"高" };
            }
        }

        public static List<string> RankLeveList3
        {
            get
            {
                return new List<string>() { "低", "较低",  "较高", "高" };
            }
        }
        public static List<string> RankLeveList4
        {
            get
            {
                return new List<string>() { "低", "中", "较高", "高", "极高" };
            }
        }
        public static List<string> RankLeveList5
        {
            get
            {
                return new List<string>() { "不适宜", "较低", "一般适宜", "较高",  "适宜"};
            }
        }
        public static List<string> RankLeveList6
        {
            get
            {
                return new List<string>() { "不适宜","一般适宜","适宜" };
            }
        }
        public static List<string> RankLeveList7
        {
            get
            {
                return new List<string>() { "灌溉可用水量(m³)", "农田灌溉定额(m³/km²)", "可承载灌溉面积(km²)", "可承载耕地规模(km²)", "不合理灌溉耕地面积(km²)" };
            }
        }
        public static List<string> RankLeveList8
        {
            get
            {
                return new List<string>() { "1", "2", "3", "4", "5", "6", "7" };
            }
        }

        public static List<string> RankLeveList9
        {
            get
            {
                return new List<string>() { "一般", "重要", "极重要" };
            }
        }
        public static List<string> RankLeveList10
        {
            get
            {
                return new List<string>() { "极敏感", "敏感", "一般敏感" };
            }
        }
        public static List<string> RankLeveList11
        {
            get
            {
                return new List<string>() { "低", "较低", "中等", "较高", "高" };
            }
        }

        public static List<string> RankLeveList12
        {
            get
            {
                return new List<string>() { "一般敏感", "敏感", "极敏感" };
            }
        }
        public static List<string> RankLeveList13
        {
            get
            {
                return new List<string>() { "城镇人均需水量(m³/人)", "城镇可用水量(m³)", "可承载城镇建设用地最大规模(km²)" };
            }
        }
        public static List<string> RankLeveList14
        {
            get
            {
                return new List<string>() { "适宜", "不适宜"};
            }
        }
    }
}
